The replication materials for ``Macropartisanship with Independents,’’ by Spencer Goidel, Paul M. Kellstedt, and Matthew J. Lebo are included in this folder. The contents of each file are explained below.


``POQ_GKL_2021.dta’’ is the dataset used with ``POQ_GKL.do'' to reproduce the figures and analyses in the article. The ``POQ_GKL_2021.dta’’ dataset includes the following variables: 

date - year and quarter
rep - proportion of respondents that identify as Republican
dem - proportion of respondents that identify as Democratic
nonpartisan - proportion of respondents that identify as nonpartisan
macrop - dem / (dem + rep)
dem_pres - coded 1 if the president is a Democrat, -1 if Republican
dem_approve - differenced presidential approval multiplied by dem_pres 
dem_csi - differenced consumer sentiment multiplied by dem_pres 


``POQ_GKL_2021_SI.dta'' is the dataset used with ``POQ_GKL_SI.do'' to reproduce the figures and analyses in the appendix, as well as the autocorrelation tests mentioned in footnote 4. The ``POQ_GKL_2021_SI.dta’’ dataset includes the following variables: 

date - year and quarter
rep - proportion of respondents that identify as Republican
dem - proportion of respondents that identify as Democratic
nonpartisan - proportion of respondents that identify as nonpartisan
ind_a1 - proportion of respondents that identify as independent 
dkna_a1 - proportion of respondents that refuse to identify or answer
rep_a2 - rep / (rep + dem + ind_a1)
dem_a2 - dem / (rep + dem + ind_a1)
ind_a2 - ind / (rep + dem + ind_a1)
macrop - dem / (dem + rep)
dem_pres - coded 1 if the president is a Democrat, -1 if Republican
dem_approve - differenced presidential approval multiplied by dem_pres
dem_csi - differenced consumer sentiment multiplied by dem_pres 
dapprove - differenced presidential approval
dcsi - differenced consumer sentiment
approve - presidential approval
csi - consumer sentiment
sep_11 - dummy coded 1 on the 3rd and 4th quarter of 2001
achille_lauro - dummy coded 1 on the 4th quarter of 1985
challenger - dummy coded 1 on the 1st quarter of 1986
kal007 - dummy coded 1 on the 3rd quarter of 1983
twa_hijack - dummy coded 1 on the 2nd quarter of 1985
iran_crisis - dummy coded 1 on the 4th quarter of 1979 and 1st quarter of 1980
ass_attempt - dummy coded 1 on the 2nd quarter of 1981 
hw1 - dummy coded 1 on the 1st quarter of 1989
ron1 - dummy coded 1 on the 1st quarter of 1981
bill1 - dummy coded 1 on the 1st quarter of 1993
w1 - dummy coded 1 on the 1st quarter of 2001
obama1 - dummy coded 1 on the 1st quarter of 2009
